-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Search: Result Component Updates #96184
Conversation
@JasonStoltz I've made some pretty good headway here, but I'm gonna need a hand updating tests and such. I'm hoping you'd be willing to help take this over the finish line. I'm gonna throw some time on your calendar next week to sync about it 😀 |
<EuiButtonIcon | ||
iconType={iconType} | ||
onClick={onClick} | ||
color={iconColor ? 'primary' : undefined} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran across this while writing tests ... I assume this is a mistake and should be:
color={iconColor ? 'primary' : undefined} | |
color={iconColor ? iconColor : 'primary'} |
Can you confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha. Yes. iconColor : 'primary'
🤦🏼
@daveyholler I pushed updates for tests and types. Should be green now, just need to review 😫 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm generally good with all this, nice work! @constancecchen Did you want to take a look before we merge it?
))} | ||
</> | ||
)} | ||
<article className="appSearchResult__content"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I'm glad this entire section is no longer linked
FWIW, there is an axe failure on the drag handle. Not sure it's new though:
|
Ya it's not new, I noticed that failure as well when I implemented the original drag handle. It's out of scope for us IMO, something to be addressed by either EUI or the I would like to take a quick review of this PR if that's cool! 👍 |
@@ -44,9 +45,13 @@ | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
width: $euiSizeL * 2; | |||
width: $euiSize * 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
width: $euiSize * 2; | |
width: $euiSizeXL; |
|
||
/** | ||
* CSS for hover specific logic | ||
* It's mildly horrific, so I pulled it out to its own section here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 I'm super glad I pulled this out into its own easily delete-able section. H E L L Y E A
@elasticmachine merge upstream |
I'ma take this out of Draft status and mark it Ready for Review. |
Strange, I wasn't getting all of these type failures locally. Looking into them now. |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
* Starting work on result component * Write tests * Fix types * Cleanup * Fix type errors Co-authored-by: Jason Stoltzfus <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* Starting work on result component * Write tests * Fix types * Cleanup * Fix type errors Co-authored-by: Jason Stoltzfus <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Davey Holler <[email protected]> Co-authored-by: Jason Stoltzfus <[email protected]>
…to-metrics-tab * 'master' of github.com:elastic/kibana: (44 commits) [Exploratory View]Additional metrics for kpi over time (elastic#96532) [Fleet] UI changes on hosted policy detail view (elastic#96337) Stacked line charts incorrectly shows one term as 100% (elastic#96203) [Fleet] Create enrollment API keys as current user (elastic#96464) [Lens] Make table and metric show on top Chart switcher (elastic#96601) skip flaky suite (elastic#96691) [Lens] Hide "Show more errors" once expanded (elastic#96605) [Discover] Unskip histogram hiding test (elastic#95759) skip flyout test, add linked issue elastic#96708 skip copy_to_space_flyout_internal.test.tsx elastic#96708 fix config validation (elastic#96502) Document telemetry fields for stack security features (elastic#96638) [Partial Results] Move inspector adapter integration into search source (elastic#96241) [RAC] Rule registry plugin (elastic#95903) [APM] Run precommit tasks sequentially (elastic#96551) [Maps] fix Kibana does not recognize a valid geo_shape index when attempting to create a Tracking Containment alert (elastic#96633) [Security Solution] [Cases] Small UI bugfixes (elastic#96511) [Actions UI] Changed PagerDuty action form UI to fill payload fields according to the API docs for Resolve and Acknowledge events. (elastic#96363) App Search: Result Component Updates (elastic#96184) [Alerting] Preconfigured alert history index connector (elastic#94909) ...
Summary
This updates the result component to do the following:
EuiToken
next to fields that specify afield_type
for easier visual greppingChecklist
Delete any items that are not applicable to this PR.
For maintainers